package com.humob.jfhello;

import com.jfinal.core.Controller;

/**
 * Created by Ht on 2017/5/24.
 */


public class JFHelloWorldCtrl extends Controller {

    /**
     * 默认路径
     */
    public void index() {
        render("/index.jsp");
    }

    /**
     * 指定路径,route里的url+/hello
     */
    public void hello() {
        renderText("Hello JFinal World......");
    }

}
